package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuan_rz
 * @since 2019-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAA_T")
public class GwaaT extends PO<GwaaT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWAAENT", type = IdType.INPUT)
    private String GWAAENT;
    private String GWAA001;
    private String GWAA002;
    private String GWAA003;
    private String GWAA004;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWAA005;
    private String GWAA006;
    private String GWAA007;
    private String GWAA008;
    private String GWAA009;
    private String GWAA010;
    private String GWAA011;
    private String GWAA012;
    private String GWAA013;
    private String GWAA014;
    private String GWAA015;
    private String GWAA016;
    private String GWAA017;
    private String GWAA018;
    private String GWAA019;
    private String GWAA020;
    private String GWAA021;
    private String GWAA022;
    private String GWAAACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWAAUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWAAGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWAAMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWAATIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWAADATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWAAORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWAAORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWAAENT;
    }

}
